import Mock from 'mockjs';


let data = Mock.mock({
    "list|10":[
        {
            "id|+1":1,
            "title":"@ctitle(3, 5)",
            "price|1-100":100,
            "img":"@image('100x100',@color)"
        }
    ]
})

Mock.mock('/api/list','get',() => {
    return data
})